# 静态方法demo
class Person:
    def __init__(self, name, age):
        self.name = name
        self.age = age

    @staticmethod
    def is_adult(age):
        return age >= 18


p = Person('张三', 20)
print(p.is_adult(20))     
